Skip to content

fix(sync): support Ref-typed properties in live two-way sync - #27

Open
0hirume wants to merge 1 commit into
argon-rbx:mainfrom
0hirume:main
Open

fix(sync): support Ref-typed properties in live two-way sync#27
0hirume wants to merge 1 commit into
argon-rbx:mainfrom
0hirume:main

Conversation

@0hirume

@0hirume 0hirume commented Jun 11, 2026

Copy link
Copy Markdown

Companion to argon-rbx/argon#282, which addresses argon-rbx/argon#269 (Ref-typed property sync, e.g. Model.PrimaryPart, Weld.Part0/Part1, ObjectValue.Value).

  • Implements Ref and SharedString codecs in EncodedValue (previously stubs that errored), threading a tree reference through encode/decode so Ref values can be resolved to/from instances via Tree:getId/Tree:getInstance.
  • Adds Dom.getRefProperties(className) to discover Ref-typed properties via the API database, since they have no DefaultProperties entry and were previously never read.
  • Read/Write processors now read and apply Ref-typed properties during live sync.
  • stylua --check / selene on changed files
  • Manual end-to-end test against the corresponding argon branch: PrimaryPart and Weld Part0/Part1 sync correctly in both directions without crashing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant